public class dpp {
        public static void main (String[]args) {
            int x = 12;      //定义变量x
            int y;
            {
                y = 96;
                System.out.println("x is" + x);
                System.out.println("y is" + y);
            }
            y= x;
            System.out.println("x is" + x);
        }
}

